package com.chat.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/*
*功能：
 作者：chenhao
*日期： 2025/6/7 下午7:54
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("friend_request")
public class FriendRequest {
    @TableId(type = IdType.ASSIGN_ID)
    private String friendRequestId;
    private String fromUserId;
    private String toUserId;
    private String apply_reason;
    private Integer status;
    private LocalDateTime applyTime;
    private LocalDateTime handleTime;
    @TableLogic
    private String isDeleted;
}
